package com.quanyan.club.entity.db;

import com.quanyan.common.utils.Limit;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class TbClubMovementImagesExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    protected int limitStart = 0;

    protected int limitEnd = 0;

    protected Limit limit;

    public TbClubMovementImagesExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    public void setLimitStart(int limitStart) {
        this.limitStart=limitStart;
    }

    public int getLimitStart() {
        return limitStart;
    }

    public void setLimitEnd(int limitEnd) {
        this.limitEnd=limitEnd;
    }

    public int getLimitEnd() {
        return limitEnd;
    }

    public void setLimit(Limit limit) {
        this.limit=limit;
    }

    public Limit getLimit() {
        return limit;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andMvmentIdIsNull() {
            addCriterion("mvment_id is null");
            return (Criteria) this;
        }

        public Criteria andMvmentIdIsNotNull() {
            addCriterion("mvment_id is not null");
            return (Criteria) this;
        }

        public Criteria andMvmentIdEqualTo(Integer value) {
            addCriterion("mvment_id =", value, "mvmentId");
            return (Criteria) this;
        }

        public Criteria andMvmentIdNotEqualTo(Integer value) {
            addCriterion("mvment_id <>", value, "mvmentId");
            return (Criteria) this;
        }

        public Criteria andMvmentIdGreaterThan(Integer value) {
            addCriterion("mvment_id >", value, "mvmentId");
            return (Criteria) this;
        }

        public Criteria andMvmentIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("mvment_id >=", value, "mvmentId");
            return (Criteria) this;
        }

        public Criteria andMvmentIdLessThan(Integer value) {
            addCriterion("mvment_id <", value, "mvmentId");
            return (Criteria) this;
        }

        public Criteria andMvmentIdLessThanOrEqualTo(Integer value) {
            addCriterion("mvment_id <=", value, "mvmentId");
            return (Criteria) this;
        }

        public Criteria andMvmentIdIn(List<Integer> values) {
            addCriterion("mvment_id in", values, "mvmentId");
            return (Criteria) this;
        }

        public Criteria andMvmentIdNotIn(List<Integer> values) {
            addCriterion("mvment_id not in", values, "mvmentId");
            return (Criteria) this;
        }

        public Criteria andMvmentIdBetween(Integer value1, Integer value2) {
            addCriterion("mvment_id between", value1, value2, "mvmentId");
            return (Criteria) this;
        }

        public Criteria andMvmentIdNotBetween(Integer value1, Integer value2) {
            addCriterion("mvment_id not between", value1, value2, "mvmentId");
            return (Criteria) this;
        }

        public Criteria andNormalUrlIsNull() {
            addCriterion("normal_url is null");
            return (Criteria) this;
        }

        public Criteria andNormalUrlIsNotNull() {
            addCriterion("normal_url is not null");
            return (Criteria) this;
        }

        public Criteria andNormalUrlEqualTo(String value) {
            addCriterion("normal_url =", value, "normalUrl");
            return (Criteria) this;
        }

        public Criteria andNormalUrlNotEqualTo(String value) {
            addCriterion("normal_url <>", value, "normalUrl");
            return (Criteria) this;
        }

        public Criteria andNormalUrlGreaterThan(String value) {
            addCriterion("normal_url >", value, "normalUrl");
            return (Criteria) this;
        }

        public Criteria andNormalUrlGreaterThanOrEqualTo(String value) {
            addCriterion("normal_url >=", value, "normalUrl");
            return (Criteria) this;
        }

        public Criteria andNormalUrlLessThan(String value) {
            addCriterion("normal_url <", value, "normalUrl");
            return (Criteria) this;
        }

        public Criteria andNormalUrlLessThanOrEqualTo(String value) {
            addCriterion("normal_url <=", value, "normalUrl");
            return (Criteria) this;
        }

        public Criteria andNormalUrlLike(String value) {
            addCriterion("normal_url like", value, "normalUrl");
            return (Criteria) this;
        }

        public Criteria andNormalUrlNotLike(String value) {
            addCriterion("normal_url not like", value, "normalUrl");
            return (Criteria) this;
        }

        public Criteria andNormalUrlIn(List<String> values) {
            addCriterion("normal_url in", values, "normalUrl");
            return (Criteria) this;
        }

        public Criteria andNormalUrlNotIn(List<String> values) {
            addCriterion("normal_url not in", values, "normalUrl");
            return (Criteria) this;
        }

        public Criteria andNormalUrlBetween(String value1, String value2) {
            addCriterion("normal_url between", value1, value2, "normalUrl");
            return (Criteria) this;
        }

        public Criteria andNormalUrlNotBetween(String value1, String value2) {
            addCriterion("normal_url not between", value1, value2, "normalUrl");
            return (Criteria) this;
        }

        public Criteria andPicOrderIsNull() {
            addCriterion("pic_order is null");
            return (Criteria) this;
        }

        public Criteria andPicOrderIsNotNull() {
            addCriterion("pic_order is not null");
            return (Criteria) this;
        }

        public Criteria andPicOrderEqualTo(Byte value) {
            addCriterion("pic_order =", value, "picOrder");
            return (Criteria) this;
        }

        public Criteria andPicOrderNotEqualTo(Byte value) {
            addCriterion("pic_order <>", value, "picOrder");
            return (Criteria) this;
        }

        public Criteria andPicOrderGreaterThan(Byte value) {
            addCriterion("pic_order >", value, "picOrder");
            return (Criteria) this;
        }

        public Criteria andPicOrderGreaterThanOrEqualTo(Byte value) {
            addCriterion("pic_order >=", value, "picOrder");
            return (Criteria) this;
        }

        public Criteria andPicOrderLessThan(Byte value) {
            addCriterion("pic_order <", value, "picOrder");
            return (Criteria) this;
        }

        public Criteria andPicOrderLessThanOrEqualTo(Byte value) {
            addCriterion("pic_order <=", value, "picOrder");
            return (Criteria) this;
        }

        public Criteria andPicOrderIn(List<Byte> values) {
            addCriterion("pic_order in", values, "picOrder");
            return (Criteria) this;
        }

        public Criteria andPicOrderNotIn(List<Byte> values) {
            addCriterion("pic_order not in", values, "picOrder");
            return (Criteria) this;
        }

        public Criteria andPicOrderBetween(Byte value1, Byte value2) {
            addCriterion("pic_order between", value1, value2, "picOrder");
            return (Criteria) this;
        }

        public Criteria andPicOrderNotBetween(Byte value1, Byte value2) {
            addCriterion("pic_order not between", value1, value2, "picOrder");
            return (Criteria) this;
        }

        public Criteria andVideoTimeIsNull() {
            addCriterion("video_time is null");
            return (Criteria) this;
        }

        public Criteria andVideoTimeIsNotNull() {
            addCriterion("video_time is not null");
            return (Criteria) this;
        }

        public Criteria andVideoTimeEqualTo(String value) {
            addCriterion("video_time =", value, "videoTime");
            return (Criteria) this;
        }

        public Criteria andVideoTimeNotEqualTo(String value) {
            addCriterion("video_time <>", value, "videoTime");
            return (Criteria) this;
        }

        public Criteria andVideoTimeGreaterThan(String value) {
            addCriterion("video_time >", value, "videoTime");
            return (Criteria) this;
        }

        public Criteria andVideoTimeGreaterThanOrEqualTo(String value) {
            addCriterion("video_time >=", value, "videoTime");
            return (Criteria) this;
        }

        public Criteria andVideoTimeLessThan(String value) {
            addCriterion("video_time <", value, "videoTime");
            return (Criteria) this;
        }

        public Criteria andVideoTimeLessThanOrEqualTo(String value) {
            addCriterion("video_time <=", value, "videoTime");
            return (Criteria) this;
        }

        public Criteria andVideoTimeLike(String value) {
            addCriterion("video_time like", value, "videoTime");
            return (Criteria) this;
        }

        public Criteria andVideoTimeNotLike(String value) {
            addCriterion("video_time not like", value, "videoTime");
            return (Criteria) this;
        }

        public Criteria andVideoTimeIn(List<String> values) {
            addCriterion("video_time in", values, "videoTime");
            return (Criteria) this;
        }

        public Criteria andVideoTimeNotIn(List<String> values) {
            addCriterion("video_time not in", values, "videoTime");
            return (Criteria) this;
        }

        public Criteria andVideoTimeBetween(String value1, String value2) {
            addCriterion("video_time between", value1, value2, "videoTime");
            return (Criteria) this;
        }

        public Criteria andVideoTimeNotBetween(String value1, String value2) {
            addCriterion("video_time not between", value1, value2, "videoTime");
            return (Criteria) this;
        }

        public Criteria andVideoPicIsNull() {
            addCriterion("video_pic is null");
            return (Criteria) this;
        }

        public Criteria andVideoPicIsNotNull() {
            addCriterion("video_pic is not null");
            return (Criteria) this;
        }

        public Criteria andVideoPicEqualTo(String value) {
            addCriterion("video_pic =", value, "videoPic");
            return (Criteria) this;
        }

        public Criteria andVideoPicNotEqualTo(String value) {
            addCriterion("video_pic <>", value, "videoPic");
            return (Criteria) this;
        }

        public Criteria andVideoPicGreaterThan(String value) {
            addCriterion("video_pic >", value, "videoPic");
            return (Criteria) this;
        }

        public Criteria andVideoPicGreaterThanOrEqualTo(String value) {
            addCriterion("video_pic >=", value, "videoPic");
            return (Criteria) this;
        }

        public Criteria andVideoPicLessThan(String value) {
            addCriterion("video_pic <", value, "videoPic");
            return (Criteria) this;
        }

        public Criteria andVideoPicLessThanOrEqualTo(String value) {
            addCriterion("video_pic <=", value, "videoPic");
            return (Criteria) this;
        }

        public Criteria andVideoPicLike(String value) {
            addCriterion("video_pic like", value, "videoPic");
            return (Criteria) this;
        }

        public Criteria andVideoPicNotLike(String value) {
            addCriterion("video_pic not like", value, "videoPic");
            return (Criteria) this;
        }

        public Criteria andVideoPicIn(List<String> values) {
            addCriterion("video_pic in", values, "videoPic");
            return (Criteria) this;
        }

        public Criteria andVideoPicNotIn(List<String> values) {
            addCriterion("video_pic not in", values, "videoPic");
            return (Criteria) this;
        }

        public Criteria andVideoPicBetween(String value1, String value2) {
            addCriterion("video_pic between", value1, value2, "videoPic");
            return (Criteria) this;
        }

        public Criteria andVideoPicNotBetween(String value1, String value2) {
            addCriterion("video_pic not between", value1, value2, "videoPic");
            return (Criteria) this;
        }

        public Criteria andPicWidthIsNull() {
            addCriterion("pic_width is null");
            return (Criteria) this;
        }

        public Criteria andPicWidthIsNotNull() {
            addCriterion("pic_width is not null");
            return (Criteria) this;
        }

        public Criteria andPicWidthEqualTo(Integer value) {
            addCriterion("pic_width =", value, "picWidth");
            return (Criteria) this;
        }

        public Criteria andPicWidthNotEqualTo(Integer value) {
            addCriterion("pic_width <>", value, "picWidth");
            return (Criteria) this;
        }

        public Criteria andPicWidthGreaterThan(Integer value) {
            addCriterion("pic_width >", value, "picWidth");
            return (Criteria) this;
        }

        public Criteria andPicWidthGreaterThanOrEqualTo(Integer value) {
            addCriterion("pic_width >=", value, "picWidth");
            return (Criteria) this;
        }

        public Criteria andPicWidthLessThan(Integer value) {
            addCriterion("pic_width <", value, "picWidth");
            return (Criteria) this;
        }

        public Criteria andPicWidthLessThanOrEqualTo(Integer value) {
            addCriterion("pic_width <=", value, "picWidth");
            return (Criteria) this;
        }

        public Criteria andPicWidthIn(List<Integer> values) {
            addCriterion("pic_width in", values, "picWidth");
            return (Criteria) this;
        }

        public Criteria andPicWidthNotIn(List<Integer> values) {
            addCriterion("pic_width not in", values, "picWidth");
            return (Criteria) this;
        }

        public Criteria andPicWidthBetween(Integer value1, Integer value2) {
            addCriterion("pic_width between", value1, value2, "picWidth");
            return (Criteria) this;
        }

        public Criteria andPicWidthNotBetween(Integer value1, Integer value2) {
            addCriterion("pic_width not between", value1, value2, "picWidth");
            return (Criteria) this;
        }

        public Criteria andPicHeigthIsNull() {
            addCriterion("pic_heigth is null");
            return (Criteria) this;
        }

        public Criteria andPicHeigthIsNotNull() {
            addCriterion("pic_heigth is not null");
            return (Criteria) this;
        }

        public Criteria andPicHeigthEqualTo(Integer value) {
            addCriterion("pic_heigth =", value, "picHeigth");
            return (Criteria) this;
        }

        public Criteria andPicHeigthNotEqualTo(Integer value) {
            addCriterion("pic_heigth <>", value, "picHeigth");
            return (Criteria) this;
        }

        public Criteria andPicHeigthGreaterThan(Integer value) {
            addCriterion("pic_heigth >", value, "picHeigth");
            return (Criteria) this;
        }

        public Criteria andPicHeigthGreaterThanOrEqualTo(Integer value) {
            addCriterion("pic_heigth >=", value, "picHeigth");
            return (Criteria) this;
        }

        public Criteria andPicHeigthLessThan(Integer value) {
            addCriterion("pic_heigth <", value, "picHeigth");
            return (Criteria) this;
        }

        public Criteria andPicHeigthLessThanOrEqualTo(Integer value) {
            addCriterion("pic_heigth <=", value, "picHeigth");
            return (Criteria) this;
        }

        public Criteria andPicHeigthIn(List<Integer> values) {
            addCriterion("pic_heigth in", values, "picHeigth");
            return (Criteria) this;
        }

        public Criteria andPicHeigthNotIn(List<Integer> values) {
            addCriterion("pic_heigth not in", values, "picHeigth");
            return (Criteria) this;
        }

        public Criteria andPicHeigthBetween(Integer value1, Integer value2) {
            addCriterion("pic_heigth between", value1, value2, "picHeigth");
            return (Criteria) this;
        }

        public Criteria andPicHeigthNotBetween(Integer value1, Integer value2) {
            addCriterion("pic_heigth not between", value1, value2, "picHeigth");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andIsDeleteIsNull() {
            addCriterion("is_delete is null");
            return (Criteria) this;
        }

        public Criteria andIsDeleteIsNotNull() {
            addCriterion("is_delete is not null");
            return (Criteria) this;
        }

        public Criteria andIsDeleteEqualTo(Byte value) {
            addCriterion("is_delete =", value, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteNotEqualTo(Byte value) {
            addCriterion("is_delete <>", value, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteGreaterThan(Byte value) {
            addCriterion("is_delete >", value, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteGreaterThanOrEqualTo(Byte value) {
            addCriterion("is_delete >=", value, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteLessThan(Byte value) {
            addCriterion("is_delete <", value, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteLessThanOrEqualTo(Byte value) {
            addCriterion("is_delete <=", value, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteIn(List<Byte> values) {
            addCriterion("is_delete in", values, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteNotIn(List<Byte> values) {
            addCriterion("is_delete not in", values, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteBetween(Byte value1, Byte value2) {
            addCriterion("is_delete between", value1, value2, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteNotBetween(Byte value1, Byte value2) {
            addCriterion("is_delete not between", value1, value2, "isDelete");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}